import { connect } from 'react-redux'

export default connect(
  state => ({
    userid: state.user.userinfo.id,
    token: state.user.userinfo.token
  }),
  null
)
